﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MangoMes.Commont.DTOs
{
    /// <summary>
    /// 生产报工DTO
    /// </summary>
    public class ProductionDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int ProductionWorkId { get; set; }
        /// <summary>
        /// 报工类型主键
        /// </summary>
        public int ProductionTypeId { get; set; }
        /// <summary>
        /// 报工类型名称
        /// </summary>
        public string? ProductionTypeName { get; set; }
        /// <summary>
        /// 工作站名称
        /// </summary>
        public string? WorkStationName { get; set; }
        /// <summary>
        /// 生产工单No
        /// </summary>
        public string ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 物料编码（自动生成）
        /// </summary>
        public string? ProductManageNode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? ProductManageName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? ProductManageNumber { get; set; }
        /// <summary>
        /// 报工数量
        /// </summary>
        public int ProductionWorkNum { get; set; }
        /// <summary>
        /// 报工部门
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime ProductionWorkTime { get; set; }
        /// <summary>
        /// 报工时间
        /// </summary>
        public string ProductionWorkTimes { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string ProductionStart { get; set; }//0草稿,1审批中，2已完成
        /// <summary>
        /// 逻辑删除状态
        /// </summary>
        public string ProductionWorkState { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string ProductionWorkRemark { get; set; }
        /// <summary>
        /// 生产报工编号
        /// </summary>
        public string ProductionWorkNo { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string PickingNode { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unites { get; set; }
    }
}
